package com.lagou.edu.service;

import org.springframework.ui.ModelMap;

public class UserFeignFallback implements UserFeignClient {

    @Override
    public ModelMap getInfo(String token) {
        ModelMap model = new ModelMap();
        model.addAttribute("code", 5400);
        model.addAttribute("message", "token 失效 未获取到 email");
        return model;
    }

}
